import request from '@/utils/request'
//项目列表（结算/未结算
export function contract_list_fuze(dat) {
  return request({
    url: '/market/contract/contract_list_fuze',
    method: 'post',
    data:{
      is_partner:dat.is_partner,
      is_guajie:dat.is_guajie,
      page:dat.page,
      limit:dat.limit,
      keyword:dat.keyword,
      search_time:dat.search_time
    }
  })
}
//合同详情
export function contract_detail(contract_id) {
  return request({
    url: '/market/contract/contract_detail',
    method: 'post',
    data:{
      contract_id
    }
  })
}
//修改配合人员
export function change_peihe_person(dat) {
  return request({
    url: '/market/contract/change_peihe_person',
    method: 'post',
    data:{
      contract_ids:dat.contract_ids,
      market_person_b_uid:dat.fuze_uid
    }
  })
}
//用户下拉搜索
export function user_select_list(keyword) {
  return request({
    url: '/market/system/user_select_list',
    method: 'post',
    data:{
      keyword
    }
  })
}
//审核合同（负责人确认/驳回）
export function contract_check2(contract_id,check_status) {
  return request({
    url: '/market/contract/contract_check2',
    method: 'post',
    data:{
    contract_id,
    check_status
    }
  })
}